package com.joolun.mall.service.impl;


import com.joolun.mall.domain.PayData;
import com.joolun.mall.domain.WxData;
import com.joolun.mall.dto.QueryDateDTO;
import com.joolun.mall.mapper.DataMapper;
import com.joolun.mall.service.DataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DataServiceImpl implements DataService {

    @Autowired
    private DataMapper dataMapper;

    @Override
    public List<PayData> selectOrder(QueryDateDTO queryDateDTO) {
        return dataMapper.selectPayData(queryDateDTO);
    }

    @Override
    public WxData selectWxData(QueryDateDTO queryDateDTO) {
        return dataMapper.selectWxData(queryDateDTO);
    }
}
